LFLAG=-L../third-lib/lib -pthread -lmuduo_net -lmuduo_base -lgtest -lprotobuf -lsqlite3 -lz
CFLAG=-I../third-lib/include

mq_server:mq_server.cpp ../comm/msg.pb.cc ../comm/mq.pb.cc ../third-lib/include/muduo/proto/codec.cc
	g++ -o $@ $^ -std=c++11 $(CFLAG) $(LFLAG) 
.PHONY:run
run:
	./mq_server
.PHONY:clean
clean:
	rm -f mq_server